package GSR.web;

import com.maplesoft.openmaple.*;
import com.maplesoft.externalcall.MapleException;

public class Maple
{
	public Maple(){
		process();
	}
    public void process()
    {
    	
        String a[];
        Engine t;
        int i;
        a = new String[1];
        a[0] = "java";
        try
        {
            t = new Engine( a, new EngineCallBacksDefault(), null, null );
            t.evaluate( "int( x,x );" );
        }
        catch ( MapleException e )
        {
            System.out.println( "An exception occurred\n" );
            return;
        }
        System.out.println( "Done\n" );
    }
}
